﻿using MySpiderMgr.Domain.Common;
using MySpiderMgr.Domain.Common.Dtos;
using MySpiderMgr.Domain.Common.Filters;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace MySpiderMgr.Services.Common
{
    public interface ISequenceService
    {
        /// <summary>
        /// 增加
        /// </summary>
        /// <param name="dto"></param>
        void Add(CreateSysSequenceDto dto);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="dto"></param>
        void Modify(ModifySysSequenceDto dto);
        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="filterFun"></param>
        /// <returns></returns>
        List<SysSequence> FindSysSequences(FindSysSequenceFilter Filter);
        /// <summary>
        /// 根据id查找
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        SysSequence GetById(int Id);
    }
}
